package com.woody.aggregate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Id批量查询入参对象
 */
@Data
public class IdsDTO implements Serializable {

    private static final long serialVersionUID = 1508271789515977410L;

    @ApiModelProperty(value = "id")
    @NotNull(message = "ids不能为空")
    private List<Long> ids;

}
